<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php
            $registry = Zend_Registry::getInstance();
            $config = $registry->get('config');
        ?>
        <?php echo $this->headTitle();?>
        <?php echo $this->headMeta(); ?>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="description" content="<?php echo $this->description; ?>" />
        <meta name="keywords" content="<?php echo $this->keywords; ?>" />

        <script language="javascript" type="text/javascript">
            var BASE_URL = '<?php echo $this->myUrl(array(), 'FirstHome') ?>';
            var FULL_URL = '<?php echo $this->myUrl(array(), 'home') ?>';
        </script>
        
        <?php
            $this->headLink()->appendStylesheet($this->myBaseUrl(array(), 'home') . 'public/css/style.css');
            //$this->headLink()->appendStylesheet($this->myBaseUrl() . 'public/css/style.ie6.css');
            //$this->headLink()->appendStylesheet($this->myBaseUrl() . 'public/css/style.ie7.css');
            echo $this->headLink();
        ?>
        <?php
            
            //$this->headScript()->appendFile($this->myBaseUrl(array(), 'home') . 'public/js/jquery.js');
            $this->headScript()->appendFile($this->myBaseUrl(array(), 'home') . 'public/js/script.js');    
            $this->headScript()->prependFile($this->myBaseUrl(array(), 'home') . 'public/js/jquery.js');
            echo $this->headScript();
        ?>
    </head>
    
    <body>
        <div id="gb-main">
            <div class="cleared reset-box"></div>
            <div class="gb-box gb-sheet">
                <div class="gb-box-body gb-sheet-body">
                    
                    <?php
                        $controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
                        $actionName = Zend_Controller_Front::getInstance()->getRequest()->getActionName();
                        
                        $getParam = Zend_Controller_Front::getInstance()->getRequest()->getParams();
                        
                        $getParam['tab'] = $controllerName . '_' . $actionName;
                    ?>

                    <!-- header start here-->
                        <?php echo $this->action('header', 'index', null, $getParam); ?>
                    <!-- header finish here-->

                    <!-- navbar start here-->
                        <?php echo $this->action('navbar', 'index', null, $getParam); ?>
                    <!-- navbar finish here-->

                    <?php echo $this->layout()->content;?>
                    
                    <div class="cleared"></div>
                    <div class="cleared"></div>
                </div>
            </div>
            
            <!-- footer start here-->
                <?php include(APPLICATION_PATH . "/modules/default/views/scripts/index/footer.phtml"); ?>
            <!-- footer end here-->
        </div>
    </body>
</html>

